﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using ServCSS.ChatMan.ChatMan_Server;
using ServCSS.ChatMan.ChatMan_cliente;
namespace ServCSS
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Que sos?");

            Console.WriteLine("A- Server");
            Console.WriteLine("B- Cliente");

            string a = Console.ReadLine();
            switch (a)
            {
                case "A":
                     CChatMan_srv server = new CChatMan_srv();
                     server.Run();
                    break;

                case "B":
                    CChatMan_cli cliente = new CChatMan_cli();
                    cliente.Run();
                    break;
            }

            Console.ReadKey();
        }
    }
}
